package com.github.phoenics.militia.bazookaFx.domain.entity;


import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Phoneics Chow
 * @email phoenics@126.com
 * @date 2019-01-30 15:16:38
 */
public class TableColumn implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
private Long id;
	/**
	 * 表id
	 */
private Long tableId;
	/**
	 * 字段名，英文
	 */
private String columnName;
	/**
	 * 字段中文名
	 */
private String columnCnName;
	/**
	 * 数据类型
	 */
private String dataType;
	/**
	 * 是否为空
	 */
private Boolean isNullable=false;
	/**
	 * 是否主键
	 */
private Boolean columnKey=false;
	/**
	 * 字段备注
	 */
private String columnComment;


	public void setId(Long id) {
		this.id = id;
	}
	public Long getId() {
		return id;
	}
	public void setTableId(Long tableId) {
		this.tableId = tableId;
	}
	public Long getTableId() {
		return tableId;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public String getColumnName() {
		return columnName;
	}
	public void setColumnCnName(String columnCnName) {
		this.columnCnName = columnCnName;
	}
	public String getColumnCnName() {
		return columnCnName;
	}
	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public String getDataType() {
		return dataType;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}
	public String getColumnComment() {
		return columnComment;
	}
	public Boolean getNullable() {
		return isNullable;
	}

	public void setNullable(Boolean nullable) {
		isNullable = nullable;
	}

	public Boolean getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(Boolean columnKey) {
		this.columnKey = columnKey;
	}
}
